# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	foto
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	PPA

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Simple image viewer

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libchamplain-gtk-0.12.so:${PORTSDIR}/graphics/libchamplain \
	libgexiv2.so:${PORTSDIR}/graphics/gexiv2

USES=	cmake pkgconfig desktop-file-utils pantheon:snapshot tar:xz
USE_PPA=	yes
USE_GNOME=	glib20 gtk30
USE_SQLITE=	yes
USE_PANTHEON=	granite
INSTALLS_ICONS=	yes

WRKSRC=	${WRKDIR}/${DISTNAME:S/_/-/}

PPA_ACCOUNT=	erasmo-marin
PPA_BRANCH=	${PORTNAME}-1.0
PANTHEON_REV=	r66+pkg7+r1

GLIB_SCHEMAS=	org.pantheon.Foto.gschema.xml

.include <bsd.port.mk>
